ru.tcl.dxf.entities
Class Point

java.lang.Object
  |
  +--ru.tcl.dxf.DXFObject
        |
        +--ru.tcl.dxf.entities.Entity
              |
              +--ru.tcl.dxf.entities.Point

public class Point
extends Entity

Класс Point представляет точку.

Since:
TCL DXF 1.0
See Also:
Serialized Form

Constructor Summary
Point()
           
Point(DXFDocument doc)
           
 
Method Summary
 double getAngleXAxis()
          Возвращает угол с x-осью.
 java.lang.String getEntityName()
          Возвращает наименование примитива.
 double getX()
          Возвращает x-координату точки.
 double getY()
          Возвращает y-координату точки.
 double getZ()
          Возвращает z-координату точки.
 void readDXF(DXFTokenizer tokenizer)
          Считывание объекта из DXF файла.
 
Methods inherited from class ru.tcl.dxf.entities.Entity
getColorNumber, getElevation, getExtrusionDirection, getLayer, getLineType, getThickness, readCommonPropertiesDXF
 
Methods inherited from class ru.tcl.dxf.DXFObject
getDocument, setDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Point

public Point()

Point

public Point(DXFDocument doc)
Method Detail

getAngleXAxis

public final double getAngleXAxis()
Возвращает угол с x-осью.
Returns:
угол с x-осью.
Since:
TCL DXF 1.0

getEntityName

public final java.lang.String getEntityName()
Возвращает наименование примитива.
Returns:
наименование примитива.
Overrides:
getEntityName in class Entity
Since:
TCL DXF 1.0

getX

public final double getX()
Возвращает x-координату точки.
Returns:
x-координата точки.
Since:
TCL DXF 1.0

getY

public final double getY()
Возвращает y-координату точки.
Returns:
y-координата точки.
Since:
TCL DXF 1.0

getZ

public final double getZ()
Возвращает z-координату точки.
Returns:
z-координата точки.
Since:
TCL DXF 1.0

readDXF

public void readDXF(DXFTokenizer tokenizer)
             throws java.io.IOException
Считывание объекта из DXF файла. Вы не должны явно использовать данный метод.
Parameters:
tokenizer - разборщик DXF файлов
Overrides:
readDXF in class DXFObject
Since:
TCL DXF 1.0